<?php

class Holder {

    private
        $sName,
        $mValue
        ;

    public function __construct(
        $sName,
        $mValue = null
        ) {

        $this->sName = $sName;

        if($mValue !== null) {
            $this->setValue($mValue);
        }

    }

    public function getName() {

        return $this->sName;

    }

    public function setValue($mValue) {

        $this->mValue = $mValue;

    }

    public function getValue() {

        return $this->mValue;

    }

}

?>